// pages/paid/paid.js
Page({
  data: {
    hidden:true,
    hidden2:true,
    shop_name:'店铺AA',
    list: [],
    mode:['AA付款','赞助付款','博彩付款'],
    index:0,
    modal:''
  },
  search:function(){
    var that=this;
    this.setData({hidden:false});
    setTimeout(function(){
      var data = [{ id: '1', logo: '../img/ll1.png', name: '店铺1' }, { id: '1', logo: '../img/ll1.png', name: '店铺1' }];
      that.setData({
        list: data,
        hidden:true
      })
    },1000);
  },
  gps_search: function () {
    var that = this;
    this.setData({ hidden2: false });
    setTimeout(function () {
      var data = [{ id: '1', logo: '../img/ll1.png', name: '店铺1' }, { id: '1', logo: '../img/ll1.png', name: '店铺1' }];
      that.setData({
        list: data,
        hidden2: true
      })
    }, 1000);
  },
  pick:function(e){
    this.setData({
      index:e.detail.value
    })
  },
  modalshow:function(){
    this.setData({
      modal:'active'
    })
  },
  modalhide: function () {
    this.setData({
      modal: ''
    })
  },
  ok:function(){

  },
  onLoad: function (options) {
  
  },
  onReady: function () {
  
  },
  onShareAppMessage: function () {
  
  }


})